package com.dfiov.cloud.msmtools.mapper.entity.msdevice;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class VehicleInfoRes implements Serializable {

	private static final long serialVersionUID = 4403751190809125987L;

	@ApiModelProperty("vin号")
	private String vin;

	@ApiModelProperty(value = "用户姓名")
	private String userName;

	@ApiModelProperty(value = "用户手机号")
	private String mobilePhone;

	@ApiModelProperty(value = "T服务激活状态0 出厂、1 激活成功、2 激活失败、3 激活进行中、4 审核中、5 审核失败")
	private Integer enrollStatus;

	@ApiModelProperty(value = "实名认证状态 0-待实名认证，1-认证中，2-实名认证通过，3-实名认证失败，4-解除申请中，5-实名认证解除成功")
	private String realNameStatus;

	@ApiModelProperty(value = "车系")
	private String seriesId;

	@ApiModelProperty(value = "车系")
	private String seriesName;

	@ApiModelProperty(value = "车型Id")
	private String styleId;

	@ApiModelProperty(value = "车型")
	private String styleName;

	@ApiModelProperty(value = "车牌")
	private String licence;

	@ApiModelProperty("发动机号")
	private String doptCode;

	@ApiModelProperty("经销商ID")
	private String dealerId;

	@ApiModelProperty("经销商名称")
	private String dealerName;

	@ApiModelProperty(value = "车辆图片")
	private String fileUrl;

	@ApiModelProperty(value = "激活日期")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date enrollDate;

	@ApiModelProperty(value = "服务开始时间")
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	private Date contractBeginTime;

	@ApiModelProperty(value = "服务结束时间")
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	private Date contractEndTime;

	@ApiModelProperty(value = "销售时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date purchaseDate;

	@ApiModelProperty(value = "售车申报时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date availableDate;

	@ApiModelProperty(value = "动力类型 0 传统燃油车,1 混动,2 纯电")
	private Integer engineType;

	@ApiModelProperty("伴随天数")
	private String accompanyDays;

	@ApiModelProperty("伴随年份")
	private String accompanyYears;

	@ApiModelProperty("颜色")
	private String color;

	@ApiModelProperty("颜色编码")
	private String colorCode;

	@ApiModelProperty(value = "1车主，0被授权")
	private String relationshipType;

	@ApiModelProperty(value = "车辆类型1 - 用户 2 - 试乘试驾 3 - 展车 4 - 内部测试 5 - 媒体")
	private Integer vhlType;

	@ApiModelProperty("剩余电量低位值（%）")
	private String socLow;

	@ApiModelProperty("剩余电量高位值（%）")
	private String socHigh;

	@ApiModelProperty("剩余电量")
	private List<Integer> batteryRangeList;

	@ApiModelProperty("车辆高阶智驾标志 0-非高阶智驾 1-高阶智驾")
	private Integer hadFlag;

	@ApiModelProperty("车辆名称")
	private String vehicleName;

}
